package org.raftkv.commons;

/**
 * 三元组
 *
 * @author wzy
 */
public class Triple<F, S, T> {

    private final F FIRST;

    private final S SECOND;

    private final T THIRD;

    public Triple(F first, S second, T third) {
        this.FIRST = first;
        this.SECOND = second;
        this.THIRD = third;
    }

    public F getFirst() {
        return FIRST;
    }

    public S getSecond() {
        return SECOND;
    }

    public T getThird() {
        return THIRD;
    }

}
